package com.ruoyi.dash.service;

import java.util.List;
import com.ruoyi.dash.domain.TbPartyBuilding;

/**
 * 党建Service接口
 * 
 * @author ruoyi
 * @date 2025-10-25
 */
public interface ITbPartyBuildingService 
{
    /**
     * 查询党建
     * 
     * @param id 党建主键
     * @return 党建
     */
    public TbPartyBuilding selectTbPartyBuildingById(Long id);

    /**
     * 查询党建列表
     * 
     * @param tbPartyBuilding 党建
     * @return 党建集合
     */
    public List<TbPartyBuilding> selectTbPartyBuildingList(TbPartyBuilding tbPartyBuilding);

    /**
     * 新增党建
     * 
     * @param tbPartyBuilding 党建
     * @return 结果
     */
    public int insertTbPartyBuilding(TbPartyBuilding tbPartyBuilding);

    /**
     * 修改党建
     * 
     * @param tbPartyBuilding 党建
     * @return 结果
     */
    public int updateTbPartyBuilding(TbPartyBuilding tbPartyBuilding);

    /**
     * 批量删除党建
     * 
     * @param ids 需要删除的党建主键集合
     * @return 结果
     */
    public int deleteTbPartyBuildingByIds(Long[] ids);

    /**
     * 删除党建信息
     * 
     * @param id 党建主键
     * @return 结果
     */
    public int deleteTbPartyBuildingById(Long id);
}
